package com.dylan.equipment.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.dylan.equipment.entity.Equipment;
@Repository
public interface IEquipmentDao {
	
	public List<Equipment> find (Map<String, Object> params);
	public int count(Equipment s_equipment);
	public void add(Equipment equipment);
	public void update(Equipment equipment);
	public void delete(int id);
	public Equipment loadById(int id);
	public List<Equipment> existEquipmentByTypeId(int id);

}
